package org.spiderflow.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.spiderflow.core.model.SpArticle;

public interface SpArticleMapper extends BaseMapper<SpArticle> {

  @Update("update sp_article set file_id = #{fileId} where file_name = #{fileName}")
  void updateFileIdByName(@Param("fileId") String fileId, @Param("fileName") String fileName);


}